package com.hspedu.homework.homework05;

public class Peasant extends Employee{
    public Peasant(double basicSalary) {
        super(basicSalary);
    }
    public void annualSalary(){
        System.out.println("农民的年薪为："+getBasicSalary()*12);
    }
}
